<?php
defined('YII_INCLUDE_PATH') or define('YII_INCLUDE_PATH', dirname(__FILE__) . '/../../../yii/framework/yii.php');

defined('YII_DEBUG') or define('YII_DEBUG', true); # Remove the following lines
# when in production mode

defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL', 3); # Specify how many levels of call stack
# should be shown in each log message

$cfg = array(
	'preload'	 => array(
	),
	# autoloading model and component classes
	'import'	 => array(
	),
	# application components
	'components' => array(
		'db' => array(
			'class'					 => 'CDbConnection',
			'connectionString'		 => 'mysql:host=mysql1.ram.com.ua;dbname=dev_valentine',
			'emulatePrepare'		 => false,
			'username'				 => 'orkin',
			'password'				 => '1cn0hbz',
			'charset'				 => 'utf8',
			'tablePrefix'			 => '',
			'enableParamLogging'	 => YII_DEBUG,
			'enableProfiling'		 => YII_DEBUG,
			'schemaCachingDuration'	 => 0,
		),
	),
	'modules'	 => array(
		'admin',
		'gii' => array(
			'class'			 => 'system.gii.GiiModule',
			'password'		 => '123',
			'generatorPaths' => array(
				'ext.modules.gii', // Gii Template Collection
			),
			'ipFilters'		 => array('*'),
		),
	),
	'params'	 => array(
	),
);

return $cfg;
